local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1
L0_1 = {}
L0_1.group_id = 133003579
L1_1 = {}
L2_1 = {}
L2_1.config_id = 579001
L2_1.monster_id = 21010201
L3_1 = {}
L3_1.x = 2405.238
L3_1.y = 249.916
L3_1.z = -1404.485
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 186.492
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 5
L2_1.drop_id = 1000100
L2_1.pose_id = 9012
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 579007
L3_1.monster_id = 21010201
L4_1 = {}
L4_1.x = 2404.225
L4_1.y = 249.672
L4_1.z = -1409.923
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 5
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.pose_id = 9012
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 579019
L4_1.monster_id = 21010201
L5_1 = {}
L5_1.x = 2402.27
L5_1.y = 250.751
L5_1.z = -1416.027
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 359.348
L5_1.y = 275.141
L5_1.z = 359.941
L4_1.rot = L5_1
L4_1.level = 5
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.pose_id = 9002
L4_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 579005
L2_1.gadget_id = 70300086
L3_1 = {}
L3_1.x = 2415.496
L3_1.y = 251.547
L3_1.z = -1414.365
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 5
L2_1.area_id = 1
L3_1 = {}
L3_1.config_id = 579006
L3_1.gadget_id = 70300086
L4_1 = {}
L4_1.x = 2394.216
L4_1.y = 252.815
L4_1.z = -1417.609
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 5
L3_1.area_id = 1
L4_1 = {}
L4_1.config_id = 579008
L4_1.gadget_id = 70300107
L5_1 = {}
L5_1.x = 2412.846
L5_1.y = 250.314
L5_1.z = -1399.895
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 5
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 1
L5_1 = {}
L5_1.config_id = 579009
L5_1.gadget_id = 70300107
L6_1 = {}
L6_1.x = 2396.925
L6_1.y = 249.687
L6_1.z = -1400.842
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 5
L6_1 = GadgetState
L6_1 = L6_1.GearStart
L5_1.state = L6_1
L5_1.persistent = true
L5_1.area_id = 1
L6_1 = {}
L6_1.config_id = 579010
L6_1.gadget_id = 70300107
L7_1 = {}
L7_1.x = 2404.54
L7_1.y = 249.26
L7_1.z = -1407.282
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 5
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.persistent = true
L6_1.area_id = 1
L7_1 = {}
L7_1.config_id = 579011
L7_1.gadget_id = 70220010
L8_1 = {}
L8_1.x = 2404.916
L8_1.y = 249.656
L8_1.z = -1397.983
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 5
L7_1.area_id = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 579012
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 20
L3_1 = {}
L3_1.x = 2405.625
L3_1.y = 250.414
L3_1.z = -1413.212
L2_1.pos = L3_1
L2_1.area_id = 1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1579002
L2_1.name = "ANY_MONSTER_DIE_579002"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_579002"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_579002"
L3_1 = {}
L3_1.config_id = 1579012
L3_1.name = "ENTER_REGION_579012"
L4_1 = EventType
L4_1 = L4_1.EVENT_ENTER_REGION
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ENTER_REGION_579012"
L3_1.action = "action_EVENT_ENTER_REGION_579012"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "gadgetNum"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "mageNum"
L3_1.value = 0
L3_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 579001
L6_1 = 579007
L7_1 = 579019
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 579005
L6_1 = 579006
L7_1 = 579008
L8_1 = 579009
L9_1 = 579010
L10_1 = 579011
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.gadgets = L4_1
L4_1 = {}
L5_1 = 579012
L4_1[1] = L5_1
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_579002"
L6_1 = "ENTER_REGION_579012"
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_579002 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddQuestProgress
  L3_2 = A0_2
  L4_2 = "1330035791"
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : add_quest_progress"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_579002 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 579012 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_579012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2
  L2_2 = {}
  L2_2.x = 2405
  L2_2.y = 249
  L2_2.z = -1410
  L3_2 = ScriptLib
  L3_2 = L3_2.ShowReminderRadius
  L4_2 = A0_2
  L5_2 = 1110151
  L6_2 = L2_2
  L7_2 = 25
  L3_2 = L3_2(L4_2, L5_2, L6_2, L7_2)
  if 0 ~= L3_2 then
    L3_2 = ScriptLib
    L3_2 = L3_2.PrintContextLog
    L4_2 = A0_2
    L5_2 = "@@ LUA_WARNING : active_reminder_ui_bypos"
    L3_2(L4_2, L5_2)
    L3_2 = -1
    return L3_2
  end
  L3_2 = 0
  return L3_2
end
action_EVENT_ENTER_REGION_579012 = L1_1
